package com.info.zhiduoduo.repository.entity.company;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 企业评分
 * </p>
 *
 * @author wtt
 * @since 2022/2/10
 */
@Data
@Accessors(chain = true)
@TableName("zdd_enterprise_score")
public class EnterpriseScore extends Model<EnterpriseScore> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer Id;
    /**
     * 企业ID
     */
    @TableField("compid")
    private Integer compid;
    /**
     * 诉讼情况
     */
    @TableField("litigation_situation")
    private Integer litigationSituation;
    /**
     * 负面舆情
     */
    @TableField("negative_public_opinion")
    private Integer negativePublicOpinion;
    /**
     * VIP上市公司
     */
    @TableField("vip_listed_companies")
    private Integer vipListedCompanies;
    /**
     * 费用计算规则清晰度
     */
    @TableField("expense_calculation_rules")
    private Integer expenseCalculationRules;
    /**
     * 发单与经营范围匹配度
     */
    @TableField("issuing_and_business_scope")
    private Integer issuingAndBusinessScope;
    /**
     * 合同完善度
     */
    @TableField("contract_perfection")
    private Integer contractPerfection;
    /**
     * 委托代付协议
     */
    @TableField("entrusted_payment_agreement")
    private Integer entrustedPaymentAgreement;
    /**
     * 符合当地的税务政策
     */
    @TableField("compliant_tax_policy")
    private Integer compliantTaxPolicy;
    /**
     * 符合税务要求
     */
    @TableField("compliance_with_tax_requirements")
    private Integer complianceWithTaxRequirements;
    /**
     * 发单金额完善度
     */
    @TableField("perfection_of_issuing_amount")
    private Integer perfectionOfIssuingAmount;
    /**
     * 证据链完整度
     */
    @TableField("evidence_chain_integrity")
    private Integer evidenceChainIntegrity;
    /**
     * 行业风险
     */
    @TableField("industry_risk")
    private Integer industryRisk;
    /**
     * 财务风险
     */
    @TableField("financial_risk")
    private Integer financialRisk;
    /**
     * 税务风险
     */
    @TableField("tax_risk")
    private Integer taxRisk;
    /**
     * 人力风险
     */
    @TableField("human_risk")
    private Integer humanRisk;
    /**
     * 法律风险
     */
    @TableField("legal_risk")
    private Integer legalRisk;
    /**
     * 创建时间
     */
    @TableField("createtime")
    private Date createtime;
    /**
     * 更新时间
     */
    @TableField(update = "now()")
    private Date updatetime;
    /**
     * 总分
     */
    @TableField("total_score")
    private Integer totalScore;
    /**
     * 一星评测情况
     */
    @TableField("one_star_evaluation")
    private String oneStarEvaluation;
    /**
     * 一星是否通过(0:否，1:是)
     */
    @TableField("one_star_pass")
    private Integer oneStarPass;
    /**
     * 二星评测情况
     */
    @TableField("two_star_evaluation")
    private String twoStarEvaluation;
    /**
     * 二星是否通过(0:否，1:是)
     */
    @TableField("two_star_pass")
    private Integer twoStarPass;
    /**
     * 三星评测情况
     */
    @TableField("samsung_evaluation")
    private String samsungEvaluation;
    /**
     * 三星是否通过(0:否，1:是)
     */
    @TableField("samsung_pass")
    private Integer samsungPass;
    /**
     * 四星评测情况
     */
    @TableField("four_star_evaluation")
    private String fourStarEvaluation;
    /**
     * 四星是否通过(0:否，1:是)
     */
    @TableField("four_star_pass")
    private Integer fourStarPass;
    /**
     * 五星评测情况
     */
    @TableField("five_star_evaluation")
    private String fiveStarEvaluation;
    /**
     * 五星是否通过(0:否，1:是)
     */
    @TableField("five_star_pass")
    private Integer fiveStarPass;
    /**
     * 顾问是否拜访企业
     */
    @TableField("does_the_consultant_visit")
    private Integer doesTheConsultantVisit;


    @Override
    protected Serializable pkVal() { return this.Id; }
}
